/*
 * Tuple.h
 *
 *  Created on: 06/02/2014
 *      Author: Bruno
 */

#ifndef TUPLE_H_
#define TUPLE_H_

#include <limits.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>

class Tuple {
private:
	int * array;
	static int tuplesLength;
public:
	static int tuplesIntSize;
	static void SetTuplesIntSize(int numAct);
	static int GetCostFromTupleArray(int * tupleArray);
	Tuple();
	Tuple(int arraySize, int * array);
	Tuple(Tuple *);
	~Tuple();
	bool empty();
	int * getArray();
	int * modes();
	int modes(int act);
	int times(int act);
	int partialTimes(int act);
	int cost();
	void modes(int act, int m);
	void times(int act, int t);
	void partialTimes(int act, int t);
	void cost(int c);
	void print();
};

#endif /* TUPLE_H_ */
